
package com.insigma.business.qrcode.soldier.dao;



import com.insigma.business.qrcode.soldier.dto.PlacementPbNewsBSearcher;
import com.insigma.business.qrcode.soldier.entity.PlacementPbNewsDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface PlacementPbNewsDao {

    
    List<PlacementPbNewsDO> search(final PlacementPbNewsBSearcher innerSearcher);

    
    PlacementPbNewsDO get(final String id);

    
    Integer insert(final PlacementPbNewsDO placementPbNewsDO);

    
    Integer update(final PlacementPbNewsDO placementPbNewsDO);

    
    Integer delete(@Param("id") final String id,
                   @Param("modifierType") final String modifierType,
                   @Param("modifierId") final String modifierId);

    Integer addReadCount(String id);

    Integer likeOrNotNews(@Param("id")String id, @Param("like")Boolean like);
}
